package jdk8.lambda;

public class Dog extends Animal {

	public Dog() {
		super("小狗");
	}
	
	@Override
	public void eat() {
		System.out.printf("%s 喜欢吃骨头...\n", getName());
	}

}
